package com.czhouse.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czhouse.pojo.Houses;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface HousesMapper extends BaseMapper<Houses> {
    @Insert("insert into houses values (null,#{villId},#{name}" +
            ",#{price},#{seller},#{userId},#{created},#{updated})")
    void addHouseInfo(Houses houses );

}
